package com.xinnet.mms.entity;

import java.io.Serializable;

import com.xinnet.mms.enums.CustomerNatureEnmu;

public class Contact implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -994399525812469533L;
	private String cusId;
	private String uname;
	private String cname;
	private Integer sex;
	private String mobile;
	private String phone;
	private String email;
	private String address;
	private Integer isDecision;
	private Integer cNature;
	private String cNatureStr;
	private String remark;
	private String createTime;

	public Contact() {
		super();
	}

	public Contact(String id, String cusId, String uname, String cname,
			Integer sex, String mobile, String phone, String email,
			String address, Integer isDecision, Integer cNature, String remark,
			String createTime) {
		super();
		this.cusId = cusId;
		this.uname = uname;
		this.cname = cname;
		this.sex = sex;
		this.mobile = mobile;
		this.phone = phone;
		this.email = email;
		this.address = address;
		this.isDecision = isDecision;
		this.cNature = cNature;
		this.remark = remark;
		this.createTime = createTime;
	}

	public String getCusId() {
		return cusId;
	}

	public void setCusId(String cusId) {
		this.cusId = cusId;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getIsDecision() {
		return isDecision;
	}

	public void setIsDecision(Integer isDecision) {
		this.isDecision = isDecision;
	}

	public Integer getcNature() {
		return cNature;
	}

	public void setcNature(Integer cNature) {
		this.cNature = cNature;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getcNatureStr() {
		if(cNature==null){
			return null;
		}
		return CustomerNatureEnmu.getAllotTypeEnmuByValue(cNature).getLabel();
	}

	public void setcNatureStr(String cNatureStr) {
		this.cNatureStr = cNatureStr;
	}

	
}
